///生日祝福

import 'package:flutter/material.dart';

class BrithPage extends StatefulWidget {
  const BrithPage({Key key}) : super(key: key);

  @override
  _BrithPageState createState() => _BrithPageState();
}

class _BrithPageState extends State<BrithPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('你发出一条祝福'),
        centerTitle: true,
      ),
      body: Container(
        // color: Color(0xffF6F6FA),
        // color: Colors.red,
        // padding: EdgeInsets.only(right: 10, left: 10),
        margin: EdgeInsets.only(top:10,left: 10,right: 10),
        child: Container(
          child: Padding(
            padding: EdgeInsets.only(top: 0),
            child: Card(
              elevation: 3,
              shape: RoundedRectangleBorder(
                borderRadius: BorderRadius.all(
                  Radius.circular(20),
                ),
              ),
              child: Container(
                // width: 400,
                height: 560,
                child: Container(
                  padding: EdgeInsets.all(17),
                  child: Column(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    children: [
                      Container(
                        height: 280,
                        width:450,
                        child: ClipRRect(
                          borderRadius: BorderRadius.all(Radius.circular(10)),
                          child: Image.network(
                            'https://img0.baidu.com/it/u=732790117,1106675597&fm=26&fmt=auto&gp=0.jpg',
                            fit: BoxFit.cover,
                          ),
                        ),
                      ),
                      Container(
                        padding: EdgeInsets.only(top: 23),
                        child: Text(
                          '“',
                          style:
                              TextStyle(color: Color(0xff999999), fontSize: 50),
                        ),
                      ),
                      Container(
                        child: Text(
                          '陆毅老师祝您生日快乐！',
                          style:
                              TextStyle(color: Color(0xff333333), fontSize: 17),
                        ),
                      ),
                      Container(
                        padding: EdgeInsets.only(top:70),
                        child: Text(
                          '张薇',
                          style:
                              TextStyle(color: Color(0xff666666), fontSize: 15),
                        ),
                      ),
                      Container(
                        padding: EdgeInsets.only(top:10),
                        child: Text(
                          '2020-03-22',
                          style:
                              TextStyle(color: Color(0xff999999), fontSize: 15),
                        ),
                      ),
                    ],
                  ),
                ),
              ),
            ),
          ),
        ),
      ),
    );
  }
}
